source 'https://github.com/CocoaPods/Specs.git'

install! 'cocoapods', :disable_input_output_paths => true #, :generate_multiple_pod_projects => true, :incremental_installation => true

platform :ios, '13.0'

inhibit_all_warnings!
use_modular_headers!

target 'grid-ios-app' do
  pod 'SnapKit'   #布局库
  pod 'ESTabBarController-swift' #tabbar样式
  pod 'IQKeyboardManagerSwift', '6.5.16' #键盘相关
  pod 'Toast-Swift' #提示框
  pod 'RTRootNavigationController' # NavigationController
#  pod 'BMKLocationKit', '2.1.0'
  pod 'Moya' # 网络库
  pod 'ObjectMapper' # 数据解析
  pod 'SwiftyJSON' # 数据解析


  post_install do |installer|
      installer.generated_projects.each do |project|
          project.targets.each do |target|
              target.build_configurations.each do |config|
                  config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
              end
          end
          project.build_configurations.each do |config|
              config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
          end
      end
  end
  
end
